.class Lcom/baidu/mobads/utils/z;
.super Lcom/baidu/mobads/openad/e/e$b;
.source "SourceFile"


# instance fields
.field final synthetic a:Landroid/telephony/CellLocation;

.field final synthetic b:Lcom/baidu/mobads/utils/t;


# direct methods
.method constructor <init>(Lcom/baidu/mobads/utils/t;Landroid/telephony/CellLocation;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/baidu/mobads/utils/z;->b:Lcom/baidu/mobads/utils/t;

    iput-object p2, p0, Lcom/baidu/mobads/utils/z;->a:Landroid/telephony/CellLocation;

    invoke-direct {p0}, Lcom/baidu/mobads/openad/e/e$b;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Ljava/lang/Object;
    .locals 9

    const-string v0, "cell"

    .line 1
    :try_start_0
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getCommonUtils()Lcom/baidu/mobads/utils/h;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/baidu/mobads/utils/h;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 2
    check-cast v1, Ljava/util/List;

    sput-object v1, Lcom/baidu/mobads/utils/t;->a:Ljava/util/List;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    return-object v1

    :catchall_0
    move-exception v1

    .line 3
    invoke-static {}, Lcom/baidu/mobads/utils/q;->a()Lcom/baidu/mobads/utils/q;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/baidu/mobads/utils/q;->e(Ljava/lang/Throwable;)I

    .line 4
    :cond_0
    :try_start_1
    iget-object v1, p0, Lcom/baidu/mobads/utils/z;->a:Landroid/telephony/CellLocation;

    if-eqz v1, :cond_2

    const/4 v1, 0x3

    new-array v2, v1, [Ljava/lang/String;

    .line 5
    iget-object v3, p0, Lcom/baidu/mobads/utils/z;->a:Landroid/telephony/CellLocation;

    instance-of v3, v3, Landroid/telephony/gsm/GsmCellLocation;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    const/4 v4, 0x2

    const/4 v5, 0x1

    const/4 v6, 0x0

    const-string v7, ""

    if-eqz v3, :cond_1

    .line 6
    :try_start_2
    iget-object v1, p0, Lcom/baidu/mobads/utils/z;->a:Landroid/telephony/CellLocation;

    check-cast v1, Landroid/telephony/gsm/GsmCellLocation;

    .line 7
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1}, Landroid/telephony/gsm/GsmCellLocation;->getCid()I

    move-result v8

    invoke-virtual {v3, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v6

    .line 8
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1}, Landroid/telephony/gsm/GsmCellLocation;->getLac()I

    move-result v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    aput-object v1, v2, v5

    const-string v1, "0"

    aput-object v1, v2, v4

    goto :goto_0

    .line 9
    :cond_1
    iget-object v3, p0, Lcom/baidu/mobads/utils/z;->a:Landroid/telephony/CellLocation;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    const-string v8, "["

    invoke-virtual {v3, v8, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v3

    const-string v8, "]"

    .line 10
    invoke-virtual {v3, v8, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v3

    const-string v7, ","

    invoke-virtual {v3, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    .line 11
    aget-object v7, v3, v6

    aput-object v7, v2, v6

    .line 12
    aget-object v1, v3, v1

    aput-object v1, v2, v5

    const/4 v1, 0x4

    .line 13
    aget-object v1, v3, v1

    aput-object v1, v2, v4

    .line 14
    :goto_0
    sget-object v1, Lcom/baidu/mobads/utils/t;->a:Ljava/util/List;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 15
    :cond_2
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getCommonUtils()Lcom/baidu/mobads/utils/h;

    move-result-object v1

    sget-object v2, Lcom/baidu/mobads/utils/t;->a:Ljava/util/List;

    .line 16
    invoke-virtual {v1, v0, v2}, Lcom/baidu/mobads/utils/h;->a(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    .line 17
    :catchall_1
    sget-object v0, Lcom/baidu/mobads/utils/t;->a:Ljava/util/List;

    return-object v0
.end method

.method public a(Ljava/lang/Object;)V
    .locals 0

    return-void
.end method
